package com.eralink.unionuhfreader.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.eralink.unionuhfreader.MainActivity;
import com.eralink.unionuhfreader.R;

public class WelcomeActivity extends AppCompatActivity {
    Button btnJs;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome);
        btnJs=findViewById(R.id.btn_gotojs);
        btnJs.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(WelcomeActivity.this, ReadActivity.class));
               // finish();
            }
        });
    }
}
